package com.freewater.springboot.demo.aop.parameter.normal;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration
@EnableAspectJAutoProxy
public class AppConfig {

    @Bean
    public AccountService accountService() {
        return new AccountService();
    }

    @Bean
    public AccountAspect accountAspect() {
        return new AccountAspect();
    }
}
